{% extends 'xadmin/base_site.html' %}
{% load i18n xadmin_tags %}

{% block content %}

    {% block content-nav %}

    {% endblock %}
    <div class="navbar content-navbar navbar-default navbar-xs" data-toggle="breakpoint"
         data-class-xs="navbar content-navbar navbar-inverse navbar-xs"
         data-class-sm="navbar content-navbar navbar-default navbar-xs">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle pull-left" onclick="javascript: history.back();"><i
                    class="fa fa-arrow-left"></i></button>
            <a class="navbar-brand" data-toggle="collapse" data-target="#top-nav .navbar-collapse">
                <i class="fa fa-phone&#39;"></i>licence提交
            </a>
        </div>
        <div class="navbar-collapse collapse">
            <ul class="nav navbar-nav">
            </ul>
            <div class="navbar-btn pull-right hide-xs">
            </div>
        </div>
    </div>
<form class="exform" {% if has_file_field %}enctype="multipart/form-data" {% endif %}action="{{ form_url }}" method="post" id="{{ opts.model_name }}_form">
    {% csrf_token %}
        <div class="form-container row clearfix">
            <div id="column-0"
                 class="formColumn column form-column full col col-sm-12 form-horizontal" span="12" horizontal>
                <div class="panel panel-default fieldset unsort no_title" id="box-0">
                    <div class="panel-heading"><i class='icon fa fa-chevron-up chevron'></i>
                        <h3 class="panel-title"></h3></div>
                    <div class="panel-body ">
                        <div id="div_id_dn" class="form-group"><label for="id_dn" class="control-label  requiredField">
                            许可<span class="asteriskField">*</span> </label>
                            <div class="controls ">
                                 <textarea id="lice" name="lice" rows="3" cols="70"></textarea></div>
                        </div>
                    </div>
                </div>

            </div>

        </div>
            <div class="btn-group clearfix show-xs save-group col-xs-12">
                <button type="submit" class="default btn btn-primary col-xs-10" name="_save" data-loading-text="保存中.."/>
                <i class="fa fa-save"></i> 保存</button>
                <button type="button" class="more btn btn-primary col-xs-2" data-toggle="collapse"
                        data-target=".nav-collapse.more-btns"><i class="fa fa-ellipsis-vertical"></i></button>
            </div>
            <button type="submit" class="default btn btn-primary hide-xs" name="_save" data-loading-text="保存中.."/>
            <i class="fa fa-save"></i> 保存</button>
        </div>
    </form>

{% endblock %}